package game;

import interfaces.IDrawer;
import interfaces.IHandler;

/**
 * Class, representing the MVC drawer for the game
 * @author Home
 *
 */
public class GameDrawer implements IDrawer {

	@Override
	public void draw(IHandler handler) {
		for (int i = 0; i < handler.getRowsCount(); i++) {
			for (int j = 0; j < handler.getColsCount();j++) {
				
				System.out.print(handler.getStringForRowAndCol(i, j));			
			}
			System.out.println();
		}

	}

}
